﻿using System.Collections.Generic;
using CiStatus.CiStatusAddIn.Logic.PluginInterfaces;

namespace CiStatus.CiStatusAddIn.ViewModels
{
    public class SettingViewModel
    {
		private readonly IDictionary<string, ICiPollerParameter> _parameters;

        public SettingViewModel(IDictionary<string, ICiPollerParameter> parameters)
        {
        	_parameters = parameters;
        }

        public string ProjectName
        {
            get { return _parameters["Project"].Value; }
        }

        public string ServerName
        {
			get { return _parameters["Server"].Value; }
        }

        public string Link
        {
			get { return _parameters["Link"].Value; }
        }
    }
}